package beanInfo;

public class WhiteBoardInfo {

    public final static int MAX_Board_NAME_LENGTH = 255; //限制白板名最大长度
    public final static int MIN_Board_NAME_LENGTH = 2; //限制白板名最小长度

    public static boolean isBoardNameLegal(String group_name) {
        return group_name != null &&
                group_name.length() <= MAX_Board_NAME_LENGTH &&
                group_name.length() >= MIN_Board_NAME_LENGTH;
    }
}
